feat: add cli entrypoint and fat jar to use standalone#149
Conversation
soul2zimate
left a comment
There was a problem hiding this comment.
Hi @ruromero, Overall this looks good to me, please check my one small comment and the CI failure.
Please either add a test or reduce Jacoco ratio at line https://github.com/trustification/exhort-java-api/blob/main/pom.xml#L16 or maybe exclude Cli.java for Jacoco.
Thanks.
I have done some refactoring to also allow mocking some methods and then I added tests to cover all the added code |
f41b088 to
cb5de93
Compare
|
@soul2zimate ready to review again when you have time. Thanks |
|
LGTM Thanks @ruromero |
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
Description
Generate a fat jar with
clisuffixAdd a default entrypoint (
Cli.java) that accepts some arguments in order to execute the analysis standaloneRelated issue (if any): fixes #148
Checklist